.class public Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;
.super Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;
.source "DisplayPreferenceFragment.java"


# instance fields
.field private a:Landroid/os/Handler;

.field private b:Landroidx/preference/Preference$OnPreferenceChangeListener;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;-><init>()V

    .line 2
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a:Landroid/os/Handler;

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 1

    .line 6
    invoke-virtual {p0, p1}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->b:Landroidx/preference/Preference$OnPreferenceChangeListener;

    invoke-virtual {p1, v0}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    :cond_0
    return-void
.end method

.method static synthetic d()V
    .locals 1

    .line 5
    invoke-static {}, Lcom/estrongs/android/util/q0;->i()Lcom/estrongs/android/util/q0;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/util/q0;->h()V

    .line 6
    invoke-static {}, Lcom/estrongs/android/util/q0;->i()Lcom/estrongs/android/util/q0;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/util/q0;->g()V

    return-void
.end method

.method static synthetic d(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 1

    .line 1
    invoke-virtual {p0}, Landroidx/preference/Preference;->getKey()Ljava/lang/String;

    move-result-object p0

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0, p0, p1}, Lcom/estrongs/android/pop/FexApplication;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "hidden_file"

    .line 3
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_0

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p0

    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/pop/l;->b(ZZ)V

    :cond_0
    const/4 p0, 0x1

    return p0
.end method

.method static synthetic e(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 3

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object p0

    invoke-virtual {p0}, Landroid/app/Application;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p0

    .line 2
    new-instance v0, Landroid/content/ComponentName;

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    const-class v2, Lcom/estrongs/android/pop/app/UsbMonitorActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 3
    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    const/4 v1, 0x1

    if-eqz p1, :cond_0

    .line 4
    invoke-virtual {p0, v0, v1, v1}, Landroid/content/pm/PackageManager;->setComponentEnabledSetting(Landroid/content/ComponentName;II)V

    goto :goto_0

    :cond_0
    const/4 p1, 0x2

    .line 5
    invoke-virtual {p0, v0, p1, v1}, Landroid/content/pm/PackageManager;->setComponentEnabledSetting(Landroid/content/ComponentName;II)V

    :goto_0
    return v1
.end method

.method static synthetic f(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 0

    .line 1
    invoke-static {}, Les/qp;->c()Les/qp;

    move-result-object p0

    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    invoke-virtual {p0, p1}, Les/qp;->a(Z)V

    const/4 p0, 0x1

    return p0
.end method

.method static synthetic g(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p0

    if-eqz p0, :cond_0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->C0:Lcom/estrongs/fs/h;

    const/4 v0, 0x0

    invoke-interface {p0, v0}, Lcom/estrongs/fs/h;->a(Lcom/estrongs/fs/g;)Z

    .line 3
    :cond_0
    check-cast p1, Ljava/lang/Boolean;

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p0

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/estrongs/android/pop/l;->b(ZZ)V

    .line 5
    :try_start_0
    new-instance p0, Lorg/json/JSONObject;

    invoke-direct {p0}, Lorg/json/JSONObject;-><init>()V

    const-string v0, "action"

    const-string v1, "click"

    .line 6
    invoke-virtual {p0, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v0, "state"

    .line 7
    invoke-virtual {p0, v0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p1, "from"

    const-string v0, "sts"

    .line 8
    invoke-virtual {p0, p1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 9
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "hidefile"

    invoke-virtual {p1, v0, p0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    const/4 p0, 0x1

    return p0
.end method

.method static synthetic h(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 1

    .line 1
    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p0

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {p1, p0, v0}, Lcom/estrongs/android/pop/l;->a(ZZ)V

    const/4 p0, 0x1

    return p0
.end method

.method static synthetic i(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 1

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object p0

    const-string v0, "thumbnail"

    invoke-virtual {p0, v0, p1}, Lcom/estrongs/android/pop/FexApplication;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const/4 p0, 0x1

    return p0
.end method


# virtual methods
.method public synthetic a(Landroidx/preference/Preference;Landroidx/preference/Preference;)Z
    .locals 0

    const p2, 0x7f11087e

    .line 5
    invoke-virtual {p0, p2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroidx/preference/Preference;->setTitle(Ljava/lang/CharSequence;)V

    const/4 p1, 0x0

    return p1
.end method

.method public synthetic a(Landroidx/preference/Preference;Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 1

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object p2

    const-string v0, "show_home_new_file"

    invoke-virtual {p2, v0, p3}, Lcom/estrongs/android/pop/FexApplication;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const p2, 0x7f11087e

    .line 4
    invoke-virtual {p0, p2}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroidx/preference/Preference;->setTitle(Ljava/lang/CharSequence;)V

    const/4 p1, 0x0

    return p1
.end method

.method public synthetic a(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->b:Landroidx/preference/Preference$OnPreferenceChangeListener;

    invoke-interface {v0, p1, p2}, Landroidx/preference/Preference$OnPreferenceChangeListener;->onPreferenceChange(Landroidx/preference/Preference;Ljava/lang/Object;)Z

    .line 2
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    const/4 p1, 0x1

    return p1
.end method

.method public synthetic b()V
    .locals 1

    .line 2
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->H0()V

    .line 3
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public synthetic b(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/ui/preference/fragments/p0;

    invoke-direct {p2, p0}, Lcom/estrongs/android/ui/preference/fragments/p0;-><init>(Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;)V

    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    const/4 p1, 0x1

    return p1
.end method

.method public synthetic c(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a:Landroid/os/Handler;

    sget-object p2, Lcom/estrongs/android/ui/preference/fragments/k0;->a:Lcom/estrongs/android/ui/preference/fragments/k0;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    const/4 p1, 0x1

    return p1
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 10

    .line 1
    invoke-super {p0, p1}, Landroidx/preference/PreferenceFragmentCompat;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/ui/preference/TabletSettingsActivity;->b(Landroid/content/Context;)Z

    move-result p1

    if-eqz p1, :cond_0

    const p1, 0x7f140023

    .line 3
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->addPreferencesFromResource(I)V

    goto :goto_0

    :cond_0
    const p1, 0x7f140015

    .line 4
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->addPreferencesFromResource(I)V

    .line 5
    :goto_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->I0()Z

    move-result p1

    if-nez p1, :cond_1

    .line 6
    invoke-virtual {p0}, Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen;

    move-result-object p1

    const-string v0, "toolbar"

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->a(Landroidx/preference/PreferenceGroup;Ljava/lang/String;)V

    .line 7
    :cond_1
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    const-string v0, "others"

    .line 8
    invoke-virtual {p0, v0}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v0

    check-cast v0, Landroidx/preference/PreferenceCategory;

    .line 9
    sget-object v1, Lcom/estrongs/android/ui/preference/fragments/i0;->a:Lcom/estrongs/android/ui/preference/fragments/i0;

    iput-object v1, p0, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->b:Landroidx/preference/Preference$OnPreferenceChangeListener;

    const-string v1, "use_xlarge_layout"

    .line 10
    invoke-virtual {p0, v1}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v1

    check-cast v1, Landroidx/preference/CheckBoxPreference;

    .line 11
    sget-boolean v2, Lcom/estrongs/android/pop/esclasses/l;->c:Z

    if-eqz v2, :cond_2

    sget-boolean v2, Lcom/estrongs/android/pop/j;->M:Z

    if-nez v2, :cond_2

    .line 12
    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->d1()Z

    move-result v2

    invoke-virtual {v1, v2}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V

    .line 13
    new-instance v2, Lcom/estrongs/android/ui/preference/fragments/q0;

    invoke-direct {v2, p0}, Lcom/estrongs/android/ui/preference/fragments/q0;-><init>(Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;)V

    invoke-virtual {v1, v2}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    goto :goto_1

    .line 14
    :cond_2
    invoke-virtual {p0, v0, v1}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->a(Landroidx/preference/PreferenceGroup;Landroidx/preference/Preference;)V

    :goto_1
    const-string v1, "show_sdcard_notification"

    .line 15
    invoke-virtual {p0, v1}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v1

    check-cast v1, Landroidx/preference/CheckBoxPreference;

    .line 16
    invoke-static {}, Les/rp;->a()Z

    move-result v2

    invoke-virtual {v1, v2}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V

    .line 17
    sget-object v2, Lcom/estrongs/android/ui/preference/fragments/n0;->a:Lcom/estrongs/android/ui/preference/fragments/n0;

    invoke-virtual {v1, v2}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    const-string v1, "hidden_file"

    .line 18
    invoke-virtual {p0, v1}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v2

    check-cast v2, Landroidx/preference/CheckBoxPreference;

    if-eqz v2, :cond_3

    .line 19
    sget-object v3, Lcom/estrongs/android/ui/preference/fragments/s0;->a:Lcom/estrongs/android/ui/preference/fragments/s0;

    invoke-virtual {v2, v3}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    :cond_3
    const-string v2, "show_associate_app"

    .line 20
    invoke-virtual {p0, v2}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v2

    if-eqz v2, :cond_5

    .line 21
    sget-boolean v3, Lcom/estrongs/android/pop/j;->m0:Z

    if-eqz v3, :cond_4

    .line 22
    invoke-virtual {p0, v0, v2}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->a(Landroidx/preference/PreferenceGroup;Landroidx/preference/Preference;)V

    goto :goto_2

    .line 23
    :cond_4
    sget-object v3, Lcom/estrongs/android/ui/preference/fragments/m0;->a:Lcom/estrongs/android/ui/preference/fragments/m0;

    invoke-virtual {v2, v3}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    :cond_5
    :goto_2
    const-string v2, "thumbnail"

    .line 24
    invoke-virtual {v0, v2}, Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v3

    if-eqz v3, :cond_6

    .line 25
    sget-object v4, Lcom/estrongs/android/ui/preference/fragments/o0;->a:Lcom/estrongs/android/ui/preference/fragments/o0;

    invoke-virtual {v3, v4}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    :cond_6
    const-string v3, "show_home_new_file"

    .line 26
    invoke-virtual {v0, v3}, Landroidx/preference/PreferenceGroup;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v4

    if-eqz v4, :cond_7

    .line 27
    new-instance v5, Lcom/estrongs/android/ui/preference/fragments/j0;

    invoke-direct {v5, p0, v4}, Lcom/estrongs/android/ui/preference/fragments/j0;-><init>(Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;Landroidx/preference/Preference;)V

    invoke-virtual {v4, v5}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    .line 28
    new-instance v5, Lcom/estrongs/android/ui/preference/fragments/l0;

    invoke-direct {v5, p0, v4}, Lcom/estrongs/android/ui/preference/fragments/l0;-><init>(Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;Landroidx/preference/Preference;)V

    invoke-virtual {v4, v5}, Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V

    const v5, 0x7f11087e

    .line 29
    invoke-virtual {p0, v5}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroidx/preference/Preference;->setTitle(Ljava/lang/CharSequence;)V

    :cond_7
    const-string v4, "show_select_button"

    .line 30
    invoke-virtual {p0, v4}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v5

    check-cast v5, Landroidx/preference/CheckBoxPreference;

    if-eqz v5, :cond_8

    .line 31
    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->H1()Z

    move-result v6

    invoke-virtual {v5, v6}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V

    :cond_8
    const-string v5, "show_windows_button"

    .line 32
    invoke-virtual {p0, v5}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v6

    check-cast v6, Landroidx/preference/CheckBoxPreference;

    if-eqz v6, :cond_9

    .line 33
    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->I1()Z

    move-result v7

    invoke-virtual {v6, v7}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V

    :cond_9
    const-string v6, "show_disk_usage"

    .line 34
    invoke-virtual {p0, v6}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v6

    check-cast v6, Landroidx/preference/CheckBoxPreference;

    if-eqz v6, :cond_a

    .line 35
    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->j1()Z

    move-result v7

    invoke-virtual {v6, v7}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V

    :cond_a
    const-string v6, "history_dir_only"

    .line 36
    invoke-virtual {p0, v6}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v6

    check-cast v6, Landroidx/preference/CheckBoxPreference;

    if-eqz v6, :cond_b

    .line 37
    new-instance v7, Lcom/estrongs/android/ui/preference/fragments/u0;

    invoke-direct {v7, p0}, Lcom/estrongs/android/ui/preference/fragments/u0;-><init>(Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;)V

    invoke-virtual {v6, v7}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    :cond_b
    const-string v6, "show_disk_remain"

    .line 38
    invoke-virtual {p0, v6}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v6

    check-cast v6, Landroidx/preference/CheckBoxPreference;

    if-eqz v6, :cond_c

    .line 39
    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->i1()Z

    move-result v7

    invoke-virtual {v6, v7}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V

    .line 40
    sget-boolean v7, Lcom/estrongs/android/pop/j;->g0:Z

    if-eqz v7, :cond_c

    .line 41
    invoke-virtual {v0, v6}, Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z

    :cond_c
    const-string v6, "show_usb_prompt"

    .line 42
    invoke-virtual {p0, v6}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v6

    check-cast v6, Landroidx/preference/CheckBoxPreference;

    if-eqz v6, :cond_d

    .line 43
    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->s1()Z

    move-result p1

    invoke-virtual {v6, p1}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V

    .line 44
    sget-object p1, Lcom/estrongs/android/ui/preference/fragments/r0;->a:Lcom/estrongs/android/ui/preference/fragments/r0;

    invoke-virtual {v6, p1}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    .line 45
    sget-boolean p1, Lcom/estrongs/android/pop/j;->u0:Z

    if-nez p1, :cond_d

    .line 46
    invoke-virtual {v0, v6}, Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z

    :cond_d
    const-string p1, "language_setting"

    .line 47
    invoke-virtual {p0, p1}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/preference/CustomListPreference;

    if-eqz p1, :cond_f

    .line 48
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const v7, 0x7f03000f

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v6

    .line 49
    array-length v7, v6

    new-array v7, v7, [Ljava/lang/String;

    const/4 v8, 0x0

    const v9, 0x7f110842

    .line 50
    invoke-virtual {p0, v9}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v9

    aput-object v9, v7, v8

    .line 51
    array-length v8, v6

    const/4 v9, 0x1

    sub-int/2addr v8, v9

    invoke-static {v6, v9, v7, v9, v8}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 52
    invoke-virtual {p1, v7}, Landroidx/preference/ListPreference;->setEntries([Ljava/lang/CharSequence;)V

    .line 53
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const v8, 0x7f030010

    invoke-virtual {v6, v8}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v6

    .line 54
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v8

    invoke-virtual {v8}, Lcom/estrongs/android/pop/l;->t()Ljava/lang/String;

    move-result-object v8

    invoke-interface {v6, v8}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v6

    if-ltz v6, :cond_e

    .line 55
    aget-object v6, v7, v6

    invoke-virtual {p1, v6}, Landroidx/preference/ListPreference;->setSummary(Ljava/lang/CharSequence;)V

    .line 56
    :cond_e
    new-instance v6, Lcom/estrongs/android/ui/preference/fragments/t0;

    invoke-direct {v6, p0}, Lcom/estrongs/android/ui/preference/fragments/t0;-><init>(Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;)V

    invoke-virtual {p1, v6}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    .line 57
    sget-boolean v6, Lcom/estrongs/android/pop/j;->O:Z

    if-eqz v6, :cond_f

    .line 58
    invoke-virtual {p0}, Landroidx/preference/PreferenceFragmentCompat;->getPreferenceScreen()Landroidx/preference/PreferenceScreen;

    move-result-object v6

    invoke-virtual {v6, p1}, Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z

    :cond_f
    const-string p1, "scroll_thumb"

    .line 59
    invoke-virtual {p0, p1}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v6

    .line 60
    invoke-virtual {p0, v0, v6}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->a(Landroidx/preference/PreferenceGroup;Landroidx/preference/Preference;)V

    .line 61
    invoke-direct {p0, v2}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    .line 62
    invoke-direct {p0, v1}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    .line 63
    invoke-direct {p0, v4}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    .line 64
    invoke-direct {p0, v5}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    const-string v0, "toolbar_setting_show_name"

    .line 65
    invoke-direct {p0, v0}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    .line 66
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    const-string p1, "show_homepage_message"

    .line 67
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    const-string p1, "show_clipboard_message"

    .line 68
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    .line 69
    invoke-direct {p0, v3}, Lcom/estrongs/android/ui/preference/fragments/DisplayPreferenceFragment;->a(Ljava/lang/String;)V

    return-void
.end method
